package model

type MYCardResponse struct {
	Content    string `json:"content"`
	StatusCode int    `json:"statusCode"`
	Object     struct {
		TotalFlow        float64 `json:"totalFlow"`
		PackageIntroduce string  `json:"packageIntroduce"`
		Operator         string  `json:"operator"`
		ActiveDate       string  `json:"activeDate"`
		UsedFlow         float64 `json:"usedFlow"`
		PackageName      string  `json:"packageName"`
		RealnameStatus   int     `json:"realnameStatus"`
		ExpirationDate   string  `json:"expirationDate"`
		OpenDate         string  `json:"openDate"`
		Status           string  `json:"status"`
	} `json:"object"`
}

// 转换后的响应结构体
type MYTransformedResponse struct {
	CardDealer       string  `json:"cardDealer"`
	Content          string  `json:"content"`
	TotalFlow        float64 `json:"totalFlow"`
	PackageIntroduce string  `json:"packageIntroduce"`
	Operator         string  `json:"operator"`
	ActiveDate       string  `json:"activeDate"`
	UsedFlow         float64 `json:"usedFlow"`
	PackageName      string  `json:"packageName"`
	ExpirationDate   string  `json:"expirationDate"`
	OpenDate         string  `json:"openDate"`
	Status           string  `json:"status"`
}
